#ifndef _DICOM_HANDLER_FILE_DOWNLOAD_HANDLER__
#define _DICOM_HANDLER_FILE_DOWNLOAD_HANDLER__

#include "dicom/web_server.h"

namespace dicom {

class FileDownloadHandler : public HttpHandler {
 public:
  FileDownloadHandler(onion_request* conn) : HttpHandler(conn) {}

  virtual ~FileDownloadHandler() {}

  virtual int HandleRequest(onion_request* conn, onion_response* resp);

  virtual const char* GetName() const { return "FileDownloadHandler"; }

  static void RegisterHandler(WebServer* s);
};
}

#endif  // _DICOM_HANDLER_FILE_DOWNLOAD_HANDLER__
